package com.feng.chat.service;

import com.feng.chat.dto.Result;
import com.feng.chat.entity.SplitUpload;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 文件拆分上传 服务类
 * </p>
 *
 * @author dyf
 * @since 2022-05-31
 */
public interface ISplitUploadService extends IService<SplitUpload> {

    //获取拆分文件信息
    public Result multipartInitiate(Integer uid,String file_name,Long file_size);

    //文件拆分上传
    public Result multipart(Integer uid,MultipartFile file,String upload_id,Integer split_index,Integer split_num);
}
